package com.itheima.zy;
/*
泛型接口
 */
public interface Fx<E> {
    public abstract void method(E e);
}
class GenericityImpl<E> implements Fx<E> {

    @Override
    public void method(E e) {
        System.out.println(e);
    }
}
class GenericityImpl2 implements Fx<Integer> {

    @Override
    public void method(Integer integer) {
        System.out.println(integer);
    }
}
